package com.automobile.service;

import com.automobile.domain.Announce;

import java.util.List;
import java.util.Map;

/**
 * 类的作用
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-03-24 16:09
 */
public interface CollectService {

    Map<String,Object> findCollectByUserId(int userId);



    int findCollect(int userId, int announceId);

    void deleteCollect(int userId, int announceId);

    void save(int userId, int announceId);

    int taggleAnnounce(int userId, int announceId);



    void save2(int userId, int smartId);

    void deleteCollect2(int userId, int smartId);

    int findCollect2(int userId, int smartId);

    int taggleSmart(int userId, int smartId);


}
